package com.example.demojenkins.stream;

import java.io.Serializable;

public class Teacher implements Serializable {

    private String englishName;

    private String chineseName;


    public Teacher(String englishName, String chineseName) {
        this.englishName = englishName;
        this.chineseName = chineseName;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public String getChineseName() {
        return chineseName;
    }

    public void setChineseName(String chineseName) {
        this.chineseName = chineseName;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "englishName='" + englishName + '\'' +
                ", chineseName='" + chineseName + '\'' +
                '}';
    }
}
